const Sequelize = require('sequelize');


//数据库的信息
const sequelize = new Sequelize('mssql','sa','123456',{
    host:'localhost',//本地
    dialect:'mssql'
});

sequelize.authenticate()
.then(()=>{
    console.log('链接成功了！')
}).catch(()=>{
    console.log('链接失败了！')
});

module.exports = sequelize